<div class="layui-row">
    <table class="layui-table text-center" style="margin-top: 0px;">
        <thead>
        <tr>
            <th>图片</th>
            <th>名称</th>
            <th>SKU</th>
            <th>单位</th>
            <th>数量</th>
            <th>单价</th>
            <th><div class="text-left">备注</div></th>
        </tr>
        </thead>
        <tbody>
        {foreach $model->info as $info}
        <tr>
            <td width="100"><img src="{$info.image_url}" width="100px"></td>
            <td>{$info.name_ch}</td>
            <td class="copy-text">{$info.sku}</td>
            <td>{$info.unit}</td>
            <td>{$info.qty}</td>
            <td>{$info.price|abs}</td>
            <td class="text-left">{$info.remark}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>
</div>
<div class="info-header">
    <div class="layui-row">
        <div class="layui-col-xs3">
            <label class="layui-form-label">供应商</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.producer_name}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">采购仓库</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.warehouse.name}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">采购金额</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.amo_money|abs}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">供应商优惠</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.pro_money|abs}" readonly class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-xs3">
            <label class="layui-form-label">运费</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.logistics_price|abs}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">总金额</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.total_money|abs}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">已付金额</label>
            <div class="layui-input-block">
                <input type="text" value="{$model.pay_money|abs}" readonly class="layui-input">
            </div>
        </div>
    </div>
</div>